import { UPDATE_LOGO } from '../actions'

export default function logoReducer(state={}, action){
    const { logo } = action
    switch (action.type){
        case UPDATE_LOGO:
          return {
             ...state,
             ...logo,
             defaultLogo:'store'
          } 
        default:
          return state
    }
}